@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;500;600&family=Quicksand:wght@300;400;500&display=swap');

html{
    overflow-x: none;
    width: 100vw;
}

.gallery_heading{
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 45px;
    font-weight: 600;
    padding: 30px;
    cursor: default;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: relative;
    background-color: aliceblue;
    justify-content: center;
    align-items: center;
    width: 100vw;
    /* margin: 0; */
    left: 50%;
    transform: translateX(-50%);
    margin: 0 0 30px 0;
}

.gallery_heading>h1{
    transition: all 1s ease-in;
    color: #95599b;
    text-decoration: underline;
}

.gallery_heading>h1:hover{
    color: #ff8b17e7;
    transform: translateY(-3px);
}

.events_heading{
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100vw;
    padding: 1% 1% 0.5% 1%;
    font-weight: 600;
}

.events_heading>h2{
    color: rgb(150, 89, 155);
    font-size: 4vh;
    margin-top: 2%;
}

hr{
    margin-top: 4%;
    border: 1px solid #ff8b17e7;
}

hr:last-child{
    border: none;
    margin-bottom: none;
}

.events_scroller{
    background-color: aliceblue;
    border-radius: 10px;
    overflow: auto;
    white-space: nowrap;
    /* padding: 5px; */
    width: 90vw;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    padding: 2px;
    box-shadow: 0 0 0 2px rgba(150, 89, 155, 1), 8px 8px 0 0 rgba(150, 89, 155, 1);
    overflow-y: hidden;
}

.events_scroller::-webkit-scrollbar{
    height: 1.5vh;
}

.events_scroller::-webkit-scrollbar-thumb{
    background-color:rgba(255, 140, 26, 0.906);
    border-radius: 50px;
}

.events_scroller::-webkit-scrollbar-track{
    background-color: whitesmoke;
    border-radius: 50px;
}

.events_scroller>img{
    padding: 12px 6px 12px 6px;
    max-width: 45%;
    object-fit: contain;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}
/*
.events_scroller>img:hover{
    transform: translateY(-3px);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
} */

.events_scroller>img:first-child{
    padding-left: 12px;
}

.events_scroller>img:last-child{
    padding-right: 12px;
}

.events_scroller>img:hover{
    z-index: 69;
    scale: 1.04;
}

.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1px;
    background-color: rgba(0, 0, 0, 0.688);
    animation: zoom 0.1s ease-in;
    z-index: 15;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}

.modal img {
    width: 70%;
    object-fit: cover;
    z-index: 69;
}

.closeBtn {
    color: rgb(150, 89, 155);
    font-size: 40px;
    font-weight: 900;
    position: absolute;
    top: 5%;
    right: 8%;
    margin: 20px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    background-color: aliceblue;
    border-radius: 50%;
    padding: 0 10px 0 10px;
}

.closeBtn:hover {
    color: rgb(255, 141, 26);
}

@media (max-width: 420px){
    .gallery_heading{
        font-size: 30px;
        padding: 30px 0 30px 0;
    }

    .events_heading>h2{
        font-size: 20px;
        padding: 0 0 10px 5px;
        margin-top: 0;
    }

    .events_heading{
        padding-top: 0;
    }

    .events_scroller{
        height: 20vh;
    }

    .events_scroller>img{
        max-width: 90%;
    }

    .events_scroller::-webkit-scrollbar{
        height: 1vh;
    }

    hr{
        margin-top: 12%;
        margin-bottom: 10%;
    }

    .modal img {
        width: 100%;
    }

    .closeBtn{
        top: 0;
        right: 0;
    }
}

@media(max-width: 360px) {
    .events_scroller>img{
        max-width: 80%;
    }
}